package com.sea.physical.service;

import com.sea.physical.entity.Coefficient;
import com.sea.physical.entity.CoefficientSku;

import java.io.InputStream;
import java.util.List;

public interface CoefficientSkuService {


    /**
     * 多条件查询
     * @param coefficientSku
     * @return
     */
    List<CoefficientSku> findByCnd(CoefficientSku coefficientSku);

    CoefficientSku findBySku(String coefficientSku,String coefficientChannelName);
    /**
     * 导入SKU
     * @param inputStream
     * @param fileName
     * @return
     * @throws Exception
     */
    void importSku(InputStream inputStream, String fileName) throws Exception;

    Integer save(CoefficientSku coefficientSku);

    Integer updateCoefBySku(CoefficientSku coefficientSku);

    Integer delete(Integer id);
}
